package com.appwoo.txtws.util;

import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;
import com.appwoo.txtws.service.WeatherService;
import java.io.PrintStream;

public class WeatherWidgetProvider extends AppWidgetProvider
{
  public void onDeleted(Context paramContext, int[] paramArrayOfInt)
  {
    System.out.println("删除");
    paramContext.stopService(new Intent(paramContext, WeatherService.class));
    super.onDeleted(paramContext, paramArrayOfInt);
  }

  public void onUpdate(Context paramContext, AppWidgetManager paramAppWidgetManager, int[] paramArrayOfInt)
  {
    System.out.println("onUpdate");
    paramContext.startService(new Intent(paramContext, WeatherService.class));
    super.onUpdate(paramContext, paramAppWidgetManager, paramArrayOfInt);
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.util.WeatherWidgetProvider
 * JD-Core Version:    0.6.2
 */